package com.zj.healthmanage.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.zj.healthmanage.pojo.Diseaselibrary;
import com.zj.healthmanage.mapper.DiseaselibraryMapper;
import com.zj.healthmanage.service.DiseaselibraryService;
@Service
public class DiseaselibraryServiceImpl implements DiseaselibraryService{

    @Resource
    private DiseaselibraryMapper diseaselibraryMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return diseaselibraryMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Diseaselibrary record) {
        return diseaselibraryMapper.insert(record);
    }

    @Override
    public int insertSelective(Diseaselibrary record) {
        return diseaselibraryMapper.insertSelective(record);
    }

    @Override
    public Diseaselibrary selectByPrimaryKey(Integer id) {
        return diseaselibraryMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Diseaselibrary record) {
        return diseaselibraryMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Diseaselibrary record) {
        return diseaselibraryMapper.updateByPrimaryKey(record);
    }

}
